<template>
    <div class="more">
        <div class="top">
            <span><router-link to="/home/recommand"><</router-link></span>
            <input type="text" placeholder="搜索壁纸">
        </div>
        <div class="main">
            <router-link class="btn1" active-class="active-2" to="/home/more/zuixin">最新</router-link>
            <router-link class="btn2" active-class="active-2" to="/home/more/fengjing">风景建筑</router-link>
            <router-link class="btn3" active-class="active-2" to="/home/more/wenzi">文字控</router-link>
            <router-link class="btn4" active-class="active-2" to="/home/more/meitu">美图</router-link>
        </div>
        <router-view></router-view>
    </div>
</template>

<style lang="less" scoped>
@import '../common/less/varible.less';

// scoped 作用域
.more {
    font-family: @fontfamily;
    overflow: hidden;

    // background-color:  rgba(248, 219, 222,.4);
    .top {
        height: 50px;
        width: 85%;
        margin: 10px;

        span {
            font-size: 28px;
        }

        input {
            height: 50px;
            width: 260px;
            padding: 20px;
            margin-left: 10px;
            box-sizing: border-box;
            border: 2px solid white;
            background-color: transparent;
        }
    }

    .main {
        height: 40px;
        width: 100%;
        position: relative;

        button {
            height: 50px;
            width: 40px;
            background-color: transparent;
            border: transparent;
        }

        .btn1 {
            position: absolute;
            left: 8%;
        }

        .btn2 {
            position: absolute;
            left: 26%;
        }
        .btn3 {
            position: absolute;
            left: 55%;
        }
        .btn4 {
            position: absolute;
            left: 78%;
        }
    }

}

a {
    padding: 5px 12px;
    text-align: left;
    font-size: 20px;
}

.active-2 {
    color: #239efe;
    border-bottom: 2px solid #239efe;
}
</style>
<script>
import RecommandView from '@/views/pages/RecommandView.vue';
export default {
    components: {
        RecommandView,
    },
}
</script>